package test;

import java.awt.Component;

import tool.LocalObjectClassLoader;

public class ClassLoaderTest5 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Double a=new Double(5);
		Object b=new Object();
		System.out.println(LocalObjectClassLoader.isChildofSuperClass(Integer.class,Number.class));
		System.out.println(LocalObjectClassLoader.isChildofSuperClass(Number.class,Integer.class));
		System.out.println(LocalObjectClassLoader.isChildofSuperClass(Number.class,Number.class));
		System.out.println(LocalObjectClassLoader.isChildofSuperClass(a.getClass(),b.getClass()));
	}

}
